package com.malamute.core.util;

import java.util.List;

public class ArrayUtil {
	/**
	 * @param list
	 * @return 1,2,3,4
	 */
	public static String parseToString(List<Integer> list, String symbol) {
		StringBuffer sb = new StringBuffer();
		for (Integer tmp : list) {
			sb.append(tmp);
			sb.append(symbol);
		}
		return sb.toString().substring(0, sb.length() - symbol.length());
	}
}
